import React from 'react';
import { connect } from 'react-redux';
import Mys from '../components/My/Mys';

class MysContainer extends React.Component {
  render() {
    return (
      <Mys {...this.props} />
    );
  }
}

export default connect((state) => {
  const { PerformanceData } = state.MysReducer;
  const { avatorStore, userName, perIntro, dealerInfo } = state.EditProfileReducer;
  return {
    PerformanceData,
    avatorStore,
    userName,
    perIntro,
    dealerInfo,
  };
})(MysContainer);
